package com.zsrd.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SysPower {

  private long id;
  private long menuId;
  private String powerCode;
  private String remark;
  private long enable;
  private long sort;

  private String powerUrl;

  @TableField(exist = false)
  private long parentMenuId;

  @TableField(exist = false)
  private String menuName;

  @TableField(exist = false)
  private String roleId;

  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date createTime;

  @TableField(exist = false)
  @ApiModelProperty("分页起始")
  private Integer pageNum;

  @TableField(exist = false)
  @ApiModelProperty("分页结束")
  private Integer pageSize;


}
